package com.lt.service.impl;

import com.lt.mapper.BackendUserMapper;
import com.lt.pojo.BackendUser;
import com.lt.service.BackendUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BackendUserServiceImpl implements BackendUserService {

    @Autowired
    BackendUserMapper backendUserMapper;
    @Override
    public BackendUser loginByCodeAndPassword(String usercode, String password) {
        return backendUserMapper.loginByCodeAndPassword(usercode, password);
    }
}
